<script>
import { h } from "vue";
export default {
  render() {
    return h("div", null, [
      h("h2", null, "this is h2"),
      this.$slots.default
        ? this.$slots.default({ name: "chanqi" })
        : h("h2", null, "this is slots 默认值"),
    ]);
  },
};
</script>

<style lang="scss" scoped>
</style>